package com.tarena.lbs.activity.service;

import com.tarena.lbs.activity.pojo.param.ActivityAddParam;
import com.tarena.lbs.activity.pojo.query.ActivityQuery;
import com.tarena.lbs.activity.pojo.vo.ActivityVO;
import com.tarena.lbs.base.protocol.exception.BusinessException;
import com.tarena.lbs.base.protocol.pager.PageResult;

import java.text.ParseException;

public interface ActivityService {
    PageResult<ActivityVO> pageList(ActivityQuery query) throws BusinessException;

    void activitySave(ActivityAddParam param) throws BusinessException;

    ActivityVO detail(Integer id) throws BusinessException;
}
